const { platform } = require("os");
var path = require("path");
var platForm = process.platform;
switch(platForm) {
    case "win32":
        filePath = __dirname + "\\view\\index.html";
        break;
    case "linux":
        filePath = __dirname +"/view/index.html";
}
console.log(filePath);